﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MainForm.aspx.cs" Inherits="ManagerVerification.WebForm1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        #Password1
        {
            height: 21px;
            width: 120px;
        }
        #PassWd
        {
            width: 120px;
            height: 20px;
        }
    </style>
</head>
<body style="height: 2375px; width: 513px">
    <form id="form1" runat="server" style="height: 2348px; width: 490px" 
    visible="True">

    <asp:Panel ID="LoginPanel" style="height: 173px; border: 1px solid #000000; width: 192px;" runat="server" Visible="True">
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LogIn Panel<br />
        &nbsp;Имя:<br />
        &nbsp;<asp:TextBox ID="LogIn" runat="server" Width="120px"></asp:TextBox>
        <br />
        &nbsp;Пароль:&nbsp;<br />
        &nbsp;<input id="PassWd" type="password" runat="server" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="LogInButton" runat="server" Text="Войти" OnClick="LogInButton_Click" />
        &nbsp;&nbsp;
        <asp:Button ID="RegButton" runat="server" Text="Регистрация" Width="88px" OnClick="RegButton_Click" />
        <br />
        &nbsp;&nbsp;&nbsp;
        <asp:Label ID="CheckLabel" runat="server" Text="Неверный логин/пароль!" Visible="False">
        </asp:Label>
    </asp:Panel>

    <asp:Label ID="ActiveMan" runat="server" Visible="False" Text="Здравствуйте, "></asp:Label>

    <asp:Panel ID="WorkPanel" runat="server" style="border: 0px solid #000000; "
        Visible="False" Height="2139px" Width="479px">
        
        <asp:ScriptManager ID="ScriptManager1" runat="server">

        </asp:ScriptManager>

        <asp:LinkButton ID="WaresBtn" runat="server" onclick="WaresBtn_Click">Продукты</asp:LinkButton>
        &nbsp;<asp:LinkButton ID="RecepBtn" runat="server">Рецепты</asp:LinkButton>
        <br />
        <br />
        <asp:LinkButton ID="AddBtn" runat="server" onclick="AddBtn_Click">Добавить:</asp:LinkButton>
        &nbsp;&nbsp;&nbsp;
        <asp:LinkButton ID="ChgBtn" runat="server">Изменить:</asp:LinkButton>
        &nbsp;&nbsp;
        <asp:LinkButton ID="DelBtn" runat="server">Удалить:</asp:LinkButton>
        &nbsp;&nbsp;
        <asp:LinkButton ID="TablBtn" runat="server">Показать:</asp:LinkButton>
        <br />
        <br />
        <asp:Panel ID="AddPanel" runat="server" Height="1985px" Visible="False" 
            Width="461px">
            Обязательные поля:<br /> Имя:
            <br />
            <asp:TextBox ID="NameBox" runat="server" Width="210px"></asp:TextBox>
            <br />
            <br />
            Краткое описание:<br />
            <asp:TextBox ID="ShortDesc" runat="server" Height="100px" Width="210px"></asp:TextBox>
            <br />
            <br />
            Полное описание:<br />
            <asp:TextBox ID="ShortDesc0" runat="server" Height="160px" Width="210px"></asp:TextBox>
            <br />
            <br />
            Штрихкод:<br />
            <asp:TextBox ID="NameBox0" runat="server" Width="210px"></asp:TextBox>
            <br />
            <br />
            Цена:<br />
            <asp:TextBox ID="NameBox1" runat="server" Width="210px"></asp:TextBox>
            <br />
            <br />
            Ценовая категория:<br />
            <asp:DropDownList ID="DropDownList1" runat="server" Height="26px" Width="210px">
                <asp:ListItem Value="Эконом"></asp:ListItem>
                <asp:ListItem Value="Стандарт"></asp:ListItem>
                <asp:ListItem Value="Премиум"></asp:ListItem>
            </asp:DropDownList>
            <br />
            <br />
            Изготовитель:<br />
            <asp:DropDownList ID="ProducersList" runat="server" Height="21px" Width="209px">
            </asp:DropDownList>
            <br />
            <asp:LinkButton ID="AddPerfBtn" runat="server" onclick="AddPerfBtn_Click">Добавить производителя...</asp:LinkButton>
            <asp:Panel ID="AddPerfPanel" runat="server" Height="66px" Visible="False">
                Наименование производителя:<br />
                <asp:TextBox ID="nProducerName" runat="server" Width="210px"></asp:TextBox>
                <br />
                <asp:Button ID="RedyPerfBtn" runat="server" onclick="RedyPerfBtn_Click" 
                    Text="Добавить" />
            </asp:Panel>
            <br />
            Страна:<br />
            <asp:DropDownList ID="CountryList" runat="server" Height="21px" Width="209px">
            </asp:DropDownList>
&nbsp;<br />
            <asp:LinkButton ID="AddCountry" runat="server" onclick="AddCountry_Click">Добавить страну...</asp:LinkButton>
            <asp:Panel ID="AddCountryPanel" runat="server" Height="66px" Visible="False">
                Название страны:<br />
                <asp:TextBox ID="CountryName" runat="server" Width="210px"></asp:TextBox>
                <br />
                <asp:Button ID="RedyCntryBtn" runat="server" onclick="RedyCntryBtn_Click" 
                    Text="Добавить" />
            </asp:Panel>
            <br />
            Категория товара:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Подкатегория товара:<br />&nbsp;<asp:DropDownList 
                ID="CathegoryList1" runat="server" Height="26px" oninit="CathegoryList1_Init" 
                onload="CathegoryList1_Load" 
                onselectedindexchanged="CathegoryList1_SelectedIndexChanged" Width="210px">
            </asp:DropDownList>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:DropDownList ID="CathegoryList2" runat="server" Height="26px" 
                Width="210px">
            </asp:DropDownList>
            <br />
            &nbsp;<asp:LinkButton ID="ForLoad" runat="server">Подгрузить...</asp:LinkButton>
            <br />
            <br />
            Магазин:<br />
            <asp:DropDownList ID="ProducersList0" runat="server" Height="21px" 
                Width="209px">
            </asp:DropDownList>
            <br />
            <asp:LinkButton ID="AddShop" runat="server">Добавить магазин...</asp:LinkButton>
            <br />
            <asp:Panel ID="AddCountryPanel0" runat="server" Height="66px" Visible="False">
                Название магазина:<br />
                <asp:TextBox ID="ShopName" runat="server" Width="210px"></asp:TextBox>
                <br />
                <asp:Button ID="RedyCntryBtn0" runat="server" onclick="RedyCntryBtn_Click" 
                    Text="Добавить" />
            </asp:Panel>
            <br />
            Артикул:<br />
            <asp:TextBox ID="NameBox25" runat="server" Width="210px"></asp:TextBox>
            <br />
            <br />
            Весовой:&nbsp;&nbsp;&nbsp;
            <asp:CheckBox ID="IsPiece" runat="server" />
            <br />
            Скрытый:&nbsp;
            <asp:CheckBox ID="IsHidden" runat="server" />
            <br />
            <br />
            <asp:LinkButton ID="ExtraFieldsBtn" runat="server" 
                onclick="ExtraFieldsBtn_Click">Дополнительные поля:</asp:LinkButton>
            <br />
            <br />
            <asp:Panel ID="ExtrasPanel" runat="server" Height="809px" Visible="False" 
                Width="462px">
                Цена со скидкой:<br />
                <asp:TextBox ID="NameBox8" runat="server" Width="210px"></asp:TextBox>
                <br />
                <br />
                Масса нетто:<br />
                <asp:TextBox ID="NameBox10" runat="server" Width="210px"></asp:TextBox>
                <br />
                <br />
                Масса брутто:<br />
                <asp:TextBox ID="NameBox11" runat="server" Width="210px"></asp:TextBox>
                <br />
                <br />
                Рецепты:<br />
                <asp:TextBox ID="NameBox12" runat="server" Width="210px"></asp:TextBox>
                <br />
                <br />
                Состав:<br />
                <asp:TextBox ID="NameBox13" runat="server" Height="77px" Width="210px"></asp:TextBox>
                <br />
                <br />
                Белки:<br />
                <asp:TextBox ID="NameBox17" runat="server" Width="210px"></asp:TextBox>
                <br />
                <br />
                Жиры:<br />
                <asp:TextBox ID="NameBox18" runat="server" Width="210px"></asp:TextBox>
                <br />
                <br />
                Углеводы:<br />
                <asp:TextBox ID="NameBox19" runat="server" Width="210px"></asp:TextBox>
                <br />
                <br />
                Энергитическая ценность:<br />
                <asp:TextBox ID="NameBox20" runat="server" Width="210px"></asp:TextBox>
                <br />
                <br />
                IDList состава:<br />
                <asp:TextBox ID="NameBox14" runat="server" Height="77px" Width="210px"></asp:TextBox>
                <br />
                Срок годности:<br />
                <asp:TextBox ID="NameBox15" runat="server" Width="210px"></asp:TextBox>
                <br />
                <br />
                Условия хранения:<br />
                <asp:TextBox ID="NameBox16" runat="server" Width="210px"></asp:TextBox>
                <br />
                <asp:Button ID="Button1" runat="server" Text="Button" />
            </asp:Panel>
            <br />
            <br />
        </asp:Panel>
        <br />
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" Visible="False">
            <ContentTemplate>
                <br />
                <br />
                <br />
            </ContentTemplate>
        </asp:UpdatePanel>
    </asp:Panel>


    </td>
    </table>
    </form>
</body>
</html>
